/**
 * Create by CaoWenjian
 *
 * @copyRight: 2018
 **/
package com.bjboot.caocao.system.service;

import com.bjboot.caocao.system.domain.UserDO;
import com.bjboot.caocao.system.pojo.UserOnlinePojo;
import org.apache.shiro.session.Session;

import java.util.Collection;
import java.util.List;

/**
 *@Description session的Service
 *@Author 操文健
 *@Date 2018-09-19 下午7:54
 *@Version 1.0
 **/
public interface SessionService {

    List<UserOnlinePojo> list();

    List<UserDO> listOnlineUser();

    Collection<Session> sessionList();

    boolean forceLogout(String sessionId);
}
